package com.zjf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zjf.entity.Orders;

import java.util.List;


public interface IOrdersService extends IService<Orders> {
   int createOrders(Orders orders);
   Orders getOrdersById(Integer orderId);
   List<Orders> listOrdersByUserId(String userId);

    int payOrder(Integer orderId);
}
